package com.laicunba.pojo;

import java.math.BigDecimal;
import java.util.Date;

import org.springframework.stereotype.Component;

import com.laicunba.annotation.MyTable;

@Component
@MyTable
public class WithdrawDO extends BaseDO {
	private Date applyTime;
	private String userId;
	private String status; // apply :申请中 transfered :已打款 close :关闭
	private String summary; // 备注
	private String name; // 支付者名字
	private String pid; // 支付者身份证
	private String bankCardNo; // 支付者身行卡号
	private String bankNo; // 支付者银行代码
	private String bankName;// 银行的名字
	private BigDecimal withdrawPrincipal;
	private BigDecimal withdrawProfit;
	private String optName;
	private String optSummary;
	private Date optTime;
	private String type;// SCB 随存宝
	private String mark = "";// DEMAND_2_FIX 活期转定期
	private BigDecimal subtractRemainProfit;
	private String certificateId; // 比如,自动打款富友订单号

	public void setCertificateId(String certificateId) {
		this.certificateId = certificateId;
	}

	public String getCertificateId() {
		return certificateId;
	}

	public void setSubtractRemainProfit(BigDecimal subtractRemainProfit) {
		this.subtractRemainProfit = subtractRemainProfit;
	}

	public BigDecimal getSubtractRemainProfit() {
		return subtractRemainProfit;
	}

	public void setMark(String mark) {
		this.mark = mark;
	}

	public String getMark() {
		return mark;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getType() {
		return type;
	}

	public Date getApplyTime() {
		return applyTime;
	}

	public String getUserId() {
		return userId;
	}

	public String getStatus() {
		return status;
	}

	public String getSummary() {
		return summary;
	}

	public String getName() {
		return name;
	}

	public String getPid() {
		return pid;
	}

	public String getBankCardNo() {
		return bankCardNo;
	}

	public String getBankNo() {
		return bankNo;
	}

	public String getBankName() {
		return bankName;
	}

	public String getOptName() {
		return optName;
	}

	public String getOptSummary() {
		return optSummary;
	}

	public Date getOptTime() {
		return optTime;
	}

	public void setApplyTime(Date applyTime) {
		this.applyTime = applyTime;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public void setBankCardNo(String bankCardNo) {
		this.bankCardNo = bankCardNo;
	}

	public void setBankNo(String bankNo) {
		this.bankNo = bankNo;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public BigDecimal getWithdrawPrincipal() {
		return withdrawPrincipal;
	}

	public BigDecimal getWithdrawProfit() {
		return withdrawProfit;
	}

	public void setWithdrawPrincipal(BigDecimal withdrawPrincipal) {
		this.withdrawPrincipal = withdrawPrincipal;
	}

	public void setWithdrawProfit(BigDecimal withdrawProfit) {
		this.withdrawProfit = withdrawProfit;
	}

	public void setOptName(String optName) {
		this.optName = optName;
	}

	public void setOptSummary(String optSummary) {
		this.optSummary = optSummary;
	}

	public void setOptTime(Date optTime) {
		this.optTime = optTime;
	}

}
